<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
  <!-- js导入 -->
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/locale/easyui-lang-zh_CN.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/ztree/jquery.ztree.all-3.5.js"></script>
  <!-- css 导入 -->
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/icon.css">
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/ztree/zTreeStyle.css">
  
  <SCRIPT type="text/javascript">
		var setting = {
			data: {
				simpleData: {
					enable: true
				}
			}
		};

		var zNodes =[
			{ id:1, pId:0, name:"基础数据"},
			{ id:11, pId:1, name:"取派员设置"},
			{ id:12, pId:1, name:"区域设置"},
			{ id:13, pId:1, name:"管理分区"},
			{ id:2, pId:0, name:"受理"},
			{ id:21, pId:2, name:"业务受理"},
			{ id:22, pId:2, name:"快速录入工作单"},
			{ id:3, pId:0, name:"调度"},
			{ id:31, pId:3, name:"人工调度"},
			{ id:32, pId:3, name:"查台转单"}
		];

		$(document).ready(function(){
			$.fn.zTree.init($("#mymenu"), setting, zNodes);
		});
		
	</SCRIPT>
</head>
<body class="easyui-layout">
     <!-- layout 布局  -->
<!--      <div id="cc" class="easyui-layout" style="width:1200px;height:800px;">  -->

		<div data-options="region:'north',title:'北部',split:false" style="height:100px;"></div> 
		
		<div data-options="region:'south',title:'South Title',split:false" style="height:100px;"></div> 
		
		<div data-options="region:'east',iconCls:'icon-reload',title:'East',split:true" style="width:100px;"></div> 
		
		<div data-options="region:'west',title:'基本功能',split:true" style="width:200px;" class="easyui-accordion">
		  <div title="基础设置">
               <ul id="mymenu" class="ztree"></ul>
		</div>
		<div title="用户管理"style="padding: 10px;">   菜单二</div>
		<div title="权限控制">   菜单三</div>
		</div> 
		
		<div data-options="region:'center',title:'center title'" style="padding:5px;background:#eee;"></div> 

<!-- </div> -->
     

</body>
</html>